﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gurucore.Framework.Core.XmlBinding;

namespace Gurucore.DTOGenerator
{
	[XmlClass("type")]
	public class TypeMapping
	{
		private string m_sName;

		[XmlProperty]
		public string Name
		{
			get { return m_sName; }
			set { m_sName = value; }
		}

		private string m_sPrefix;

		[XmlProperty]
		public string Prefix
		{
			get { return m_sPrefix; }
			set { m_sPrefix = value; }
		}

		private string m_sCSharpType;

		[XmlProperty(Type = XmlPropertyType.InnerText)]
		public string CSharpType
		{
			get { return m_sCSharpType; }
			set { m_sCSharpType = value; }
		}
	}
}
